Tack.Sidebar = new Class({
	initialize: function (tack) {
		this.tack = tack;

		this.html = {
			main: new Element('div', { 'class': 'sidebar' })
		};
		
		this.panes = [];
		
		new Tack.Pane.Explorer(this);
		new Tack.Pane.Properties(this);
		new Tack.Pane.Debug(this);
	},
	
	refresh: function () {
		for (var i = 0; i < this.panes.length; i++) {
			this.panes[i].refresh();
		}
	}
});
